<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<fieldset class="layui-elem-field">
    <legend>公司信息</legend>
    <div class="layui-field-box">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input disabled id="c-name" data-rule="required" class="form-control form-control" name="row[name]" type="text" value="{$row.name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input disabled id="c-industry" data-rule="required" class="form-control form-control" name="row[industry]" type="text" value="{$row.industry}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_showtype')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select disabled  id="c-goods_showtype" data-rule="required" class="form-control selectpicker" name="row[goods_showtype]">
                {foreach name="goodsShowtypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.goods_showtype"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea disabled id="c-content" class="form-control editor form-control" rows="5" name="row[content]" cols="50">{$row.content}</textarea>
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Creator')}:</label>
        <div class="col-xs-12 col-sm-8">
            <!--<input id="c-creator" data-rule="required" class="form-control form-control" name="row[creator]" type="number" value="{$row.creator}">-->
            <input disabled type="text" value="{$row.creator_text}"/>
        </div>
    </div>

        </div>
    </fieldset>
    <fieldset class="layui-elem-field">
        <legend>审核设置</legend>
        <div class="layui-field-box">
            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Is_vip')}:</label>
                <div class="col-xs-12 col-sm-8">

                    <select  id="c-is_vip" data-rule="required" class="form-control selectpicker" name="row[is_vip]">
                        {foreach name="isVipList" item="vo"}
                        <option value="{$key}" {in name="key" value="$row.is_vip"}selected{/in}>{$vo}</option>
                        {/foreach}
                    </select>

                </div>
            </div>

            <div class="form-group">
                <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
                <div class="col-xs-12 col-sm-8">

                    <div class="radio">
                        {foreach name="statusList" item="vo"}
                        <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label>
                        {/foreach}
                    </div>

                </div>
            </div>

        </div>
    </fieldset>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
